package com.hesicare.cgm.entity;

import com.hesicare.health.entity.BaseEntity;

import java.io.Serializable;
import java.util.Date;

/**
 * @Author 55097
 * @create 2021/12/6 14:42
 */
public class CgmBloodGlucoseDayDTO extends BaseEntity implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    private Long id;

    /**
     * cgm设备Sn号
     */
    private String cgmSn;

    /**
     * 患者id
     */
    private Long patientId;

    /**
     * 归属部门id
     */
    private Long deptId;

    /**
     * 测量时间
     */
    private Date measureTime;

    /**
     * 测量日期
     */
    private Date measureDate;

    /**
     * 测量值
     */
    private Double measureValue;

    /**
     * 测量状态（1偏低；2正常；3偏高；4异常）
     */
    private String measureStatus;

    /**
     * 状态
     */
    private String status;

    /**
     * 创建者
     */
    private String createBy;

    /**
     * 创建时间
     */
    private Date createTime;

    /**
     * 修改者
     */
    private String updateBy;

    /**
     * 修改时间
     */
    private Date updateTime;

    /**
     * 备注
     */
    private String remark;

    /**
     * 疗程id
     */
    private String studyId;

    /**
     * 血糖序列号
     */
    private String serialNumber;

    /**
     * 血糖电流值
     */
    private Double electricCurrentValue;

    /**
     * 是否是历史数据
     */
    private boolean isHistoricalData;

    /**
     * 当前页
     */
    private Integer pageNum;

    /**
     * 每页显示记录数
     */
    private Integer pageSize;

    public interface Save {
    }

    public interface Update {
    }

    public static long getSerialVersionUID() {
        return serialVersionUID;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getCgmSn() {
        return cgmSn;
    }

    public void setCgmSn(String cgmSn) {
        this.cgmSn = cgmSn;
    }

    public Long getPatientId() {
        return patientId;
    }

    public void setPatientId(Long patientId) {
        this.patientId = patientId;
    }

    public Long getDeptId() {
        return deptId;
    }

    public void setDeptId(Long deptId) {
        this.deptId = deptId;
    }

    public Date getMeasureTime() {
        return measureTime;
    }

    public void setMeasureTime(Date measureTime) {
        this.measureTime = measureTime;
    }

    public Date getMeasureDate() {
        return measureDate;
    }

    public void setMeasureDate(Date measureDate) {
        this.measureDate = measureDate;
    }

    public Double getMeasureValue() {
        return measureValue;
    }

    public void setMeasureValue(Double measureValue) {
        this.measureValue = measureValue;
    }

    public String getMeasureStatus() {
        return measureStatus;
    }

    public void setMeasureStatus(String measureStatus) {
        this.measureStatus = measureStatus;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    @Override
    public String getCreateBy() {
        return createBy;
    }

    @Override
    public void setCreateBy(String createBy) {
        this.createBy = createBy;
    }

    @Override
    public Date getCreateTime() {
        return createTime;
    }

    @Override
    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    @Override
    public String getUpdateBy() {
        return updateBy;
    }

    @Override
    public void setUpdateBy(String updateBy) {
        this.updateBy = updateBy;
    }

    @Override
    public Date getUpdateTime() {
        return updateTime;
    }

    @Override
    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    @Override
    public String getRemark() {
        return remark;
    }

    @Override
    public void setRemark(String remark) {
        this.remark = remark;
    }

    public String getStudyId() {
        return studyId;
    }

    public void setStudyId(String studyId) {
        this.studyId = studyId;
    }

    public String getSerialNumber() {
        return serialNumber;
    }

    public void setSerialNumber(String serialNumber) {
        this.serialNumber = serialNumber;
    }

    public Double getElectricCurrentValue() {
        return electricCurrentValue;
    }

    public void setElectricCurrentValue(Double electricCurrentValue) {
        this.electricCurrentValue = electricCurrentValue;
    }

    public boolean isHistoricalData() {
        return isHistoricalData;
    }

    public void setHistoricalData(boolean historicalData) {
        isHistoricalData = historicalData;
    }

    public Integer getPageNum() {
        return pageNum;
    }

    public void setPageNum(Integer pageNum) {
        this.pageNum = pageNum;
    }

    public Integer getPageSize() {
        return pageSize;
    }

    public void setPageSize(Integer pageSize) {
        this.pageSize = pageSize;
    }
}
